#ifndef SPEED_CONTROL_LOOP_H
#define SPEED_CONTROL_LOOP_H

#include "../ControlLoop.h"

class SpeedControlLoop : public ControlLoop {
public:
    SpeedControlLoop(float kp, float ki, float integralLimit, float outputLimit, float dcBusVoltage = 12.0f);

    // 重写execute方法
    void execute(float angle) override;
};

#endif // SPEED_CONTROL_LOOP_H